import { BehaviorWithStore  } from "mobx-miniprogram-bindings";
import { store } from "../store/index";
export const behavior =  BehaviorWithStore({
  storeBindings:{
     // 把仓库的数据放到叫stroe的属性上
     store,
     fields:["num","name"],
     actions:["chgnum"]
  }
})